/* 重置默认样式 */
html, body, div, ul, li, h1, h2, h3, h4, h5, h6, p, dl, dt, dd, ol, form, input, textarea, th, td, select { margin: 0;  padding: 0;}
address,caption,cite,code,dfn,em,i,th,var {
    font-style: normal
}
*{box-sizing: border-box;-webkit-tap-highlight-color: transparent;-webkit-overflow-scrolling: touch;}
html, body {
    min-height: 100%;
}
a {text-decoration: none;}
address, caption, cite, code, dfn, em, i, th, var {
  font-style: normal;
}

html::-webkit-scrollbar { width: 0 !important }
body::-webkit-scrollbar { width: 0 !important }
body{
    position: relative;
    max-width: 750px;
    margin: 0 auto;
}


/* 页面样式 */
.banner{
    height: 3.73rem;
    width: 7.5rem;
    overflow: hidden;
    background: url('../images/bannerbg.png') no-repeat top;
    background-size: 100% 100%;
    position: relative;
    text-align: center;
}
.banner
    .banner-rule{
        position: absolute;
        width: 1rem;
        height: .5rem;
        line-height: .5rem;
        top: .64rem;
        right: 0;
        font-size: .24rem;
        color: #a65722;
        background: #ffd875;
        border-radius: 44px 0 0 44px;
    }
    .banner-title{
        color: #f10c10;
        font-size: .42rem;
        height: 1.04rem;
        margin-top: .6rem;
        display: flex;align-items: center;justify-content: center;
        font-family: PingFangSC-Medium;
    }
    .banner-money{
        color: #f10c10;
        font-size: .8rem;
        position: relative;
        top: -.1rem;
        width: .48rem;height: 1.04rem;
        overflow: hidden;
    }
    .scroll-num{
        transition: transform 0.7s;
    }
    .banner-tips-text{
        font-size: .4rem; color: #111;
    }
/* nav */
#nav {
    width: 100%;
    overflow: hidden;
    height: .92rem;
    background: #ff9272;
}
#nav::after {
    content: '';
    display: block;
    visibility: hidden;
    height: 0;
    clear: both;
}

.nav-wrapper {
    width: 100%;
    height: .92rem;
    overflow: hidden;
    background: #ff9272;
}
.list-tab-box2 {
    white-space: nowrap;
    height: .92rem;
    line-height: .92rem;
    font-size: .13rem;
    background: 0 0;
    list-style: none;
    text-align: center;
    display: flex;
    overflow-y: hidden;
    overflow-x: scroll;
}
.list-tab-box2::-webkit-scrollbar {
    display: none;
}

.list-tab-box2 .list-tab {
    display: inline-block;
    font-size: .32rem;
    color: #fff;
    margin: .2rem 0 .2rem .2rem;
    height: .52rem;
    line-height: .52rem;
    white-space: nowrap;
    padding: 0 .2rem;
    flex-shrink: 0;
}

.list-tab-box {
    float: left;
    white-space: nowrap;
    /*box-sizing: border-box;*/
    height: .92rem;
    line-height: .92rem;
    text-align: center;
    font-size: .13rem;
    background: 0 0;
    list-style: none;
    transform: translateX(0px);
}
.list-tab-box > li {
    display: inline-block;
}
.list-tab-box .list-tab {
    font-size: .32rem;
    color: #fff;
    margin: .2rem 0 .2rem .2rem;
    height: .52rem;
    line-height: .52rem;
    white-space: nowrap;
    padding: .06rem .2rem;
}
a:active {
    opacity: 0.7;
}
.active a {
    padding: .06rem .2rem;
    background: #fff;
    color: #f10811 !important;
    border-radius: .28rem;
}

.list-tab-box:first-child .list-tab {
    margin-left: .3rem;
}

    .countdown-wrap{
        color: #ff6700;
        font-size: .28rem;
        margin-top:.3rem ;
    }
    .countdown-inner{display: flex; justify-content: center;}
    .fmu-countdown-unit{
        background: #ff6700;
        color: #fff;
        border: none;
        width: auto;
        width: .4rem;
        height: .4rem;
        line-height: .4rem;
        border-radius: .06rem;
        overflow: hidden;
        margin: 0 3px;
        position: relative;
    }
.fixed-top{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-transform: translateY(-2.12rem);
    transform: translateY(-2.12rem);
    height: 1.3rem;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding-top: .2rem;
    background-image: -webkit-gradient(linear,left top,right top,from(#ff7f0e),to(#ff0972));
    background-image: -webkit-linear-gradient(left,#ff7f0e 0%,#ff0972 100%);
    background-image: -o-linear-gradient(left,#ff7f0e 0%,#ff0972 100%);
    background-image: linear-gradient(90deg,#ff7f0e 0%,#ff0972 100%);
    z-index: 12;
    color: #f10c10;
    font-size: .32rem;
    transition: transform .5s;
    -webkit-transition: transform .5s; /* Safari */
    opacity: 0;
}
    .down{
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    .container-top{
        width: 7.1rem;
        height: .9rem;
        margin: 0 auto;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -webkit-align-items: center;
        align-items: center;
        background: url("../images/top-bar-bg.png") no-repeat top;
        background-size: 7.1rem auto;
        box-shadow: 0 0.04rem 0.12rem 0 rgb(177 29 0 / 40%);
        overflow: hidden;
        border-radius: .12rem;
        font-size: .28rem;
    }
    .fixed-top-money{
        font-size: 0.52rem;
    }
    .fixed-top-fmu-countdown-unit{margin: 0 2px;}
.subsidy-dialog{
    width: 100%;height: 100vh;background: rgba(0,0,0,.7);position: fixed;
    left: 0;top: 0;z-index: 999;justify-content: center;align-items: center;
    display: none; 
    font-family: PingFangSC-Medium;
}
.close-subsidy {
    width: .6rem;
    height: .6rem;
    position: absolute;
    right: 0;
    top: -1rem;
    border-radius: 50%;
    border: 1px solid #979798;
}
.close-subsidy::before {
    content: "";
    display: block;
    position: absolute;
    height: .04rem;
    width: .44rem;
    background: #979798;
    left: .08rem;
    top: .28rem;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
.close-subsidy::after{
    content: "";
    display: block;
    position: absolute;
    height: .04rem;
    width: .44rem;
    background: #979798;
    left: .08rem;
    top: .28rem;
    -webkit-transform: rotate(
-45deg);
}

    .subsidy-content{
        text-align: center;
        position: absolute;
        width: 6rem;
        height: 7.8rem;
        top: 50%;
        left: 50%;
        margin: -3.9rem 0 0 -3rem;
        background: url("../images/cdl-bg.png") no-repeat top;
        background-size: 6rem;
    }
    .subsidy-decorate{
        position: absolute;
        width: 7.5rem;
        height: 4.3rem;
        background: url("../images/cdl-tag.png") no-repeat top;
        background-size: 7.5rem;
        top: 0;
        left: -.78rem;
        z-index: 99;
    }
    .subsidy-info{
        width: 5.08rem;
        height: 3.5rem;
        position: absolute;
        left: .46rem;
        top: 1rem;
        background: #fff;
        border-radius: .2rem;
        animation: carddown .8s 1;
        -webkit-animation: carddown .8s 1;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }
        .subsidy-info-title{
            font-size: .30rem;
            padding-top: .45rem;
            color: #111;
            display: flex;
        }
        .subsidy-info-title:before {
            content: "———";
            padding: 0 .3rem;
            color: #e1e1e1;
        }
        .subsidy-info-title:after {
            content: "———";
            padding: 0 .3rem;
            color: #e1e1e1;
        }
        .subsidy-info-money{
            font-size: .52rem;
            color: #f10811;
            font-weight: 400;
        }
        .subsidy-info-money>span{
            font-size: 1.28rem;
            color: #f10811;
        }
    .subsidy-countdown{
        position: absolute;
        width: 6rem;
        height: 4.5rem;
        bottom: 0;
        background: url("../images/cdl-bg-i.png") no-repeat 0;
        background-size: 6rem;
        border-radius: 0 0 .4rem .4rem;
        z-index: 100;
        display: flex;justify-content: center;
        flex-wrap: wrap; flex-shrink: 0;
        align-content: flex-start;
        align-items: center;
    }
    .subsidy-countdown-content{
        display: flex;align-items: center;color: #fff;font-size: .28rem;
        font-weight: bold; padding-top: 1.85rem;
    }
    .receive{
        background-image: linear-gradient(180deg,#fdea73 0%,#fed43a 100%);
        border-radius: .44rem;
        display: block;
        width: 5.08rem;
        height: .88rem;
        line-height: .88rem;
        font-size: .36rem;
        color: #f10811;
        margin: .64rem auto 0;
        z-index: 10000;
        animation: breathDynamic 1s infinite;
        -webkit-animation: breathDynamic 1s infinite;
    }
    @keyframes breathDynamic {
        0% {
            transform: scale(1)
        }
    
        50% {
            transform: scale(1.05)
        }
    
        100% {
            transform: scale(1)
        }
    }
    @keyframes carddown {
        0% {
            top: 1rem
        }
        30% {
            top: 1.6rem
        }
        40% {
            top: .6rem
        }
        50% {
            top: 1.4rem
        }
        70% {
            top: .8rem
        }
        80% {
            top: 1.1rem
        }
        100% {
            top: 1rem
        }
    }
    .subsidyfmu-countdown-unit{
        background: #a60600;
        font-size: .28rem;
        border: none;
        margin: 0 2px;
        width: auto;
        min-width: .4rem;
    }
/* 优惠券弹窗 */
.coupon-dialog{
    width: 100%;height: 100vh;background: rgba(0,0,0,.7);position: fixed;
    left: 0;top: 0;z-index: 999;display: none; justify-content: center;align-items: center;
    
}
    .coupon-dialog-content{
        width: 6rem;
        background: #fff;
        padding: .5rem .48rem;
        border-radius: .2rem;
        position: relative;
        font-size: .36rem;
    }
    .coupon-text{display: flex;justify-content: center;align-items: center;}
    .coupon-result{
        font-size: .28rem;
        color: #666;
        height: .28rem;
        line-height: .28rem;
        margin-top: .57rem;
        text-align: center;
    }
    .open-btn{
        background: #ff7426;
        display: block;
        font-size: .32rem;
        color: #fff;
        height: .8rem;
        width: 100%;
        line-height: .8rem;
        border-radius: .08rem;
        margin: .43rem auto 0;
        text-align: center;
    }
    .coupon-tips{
        display: block;
        font-size: .24rem;
        color: #ff2e00;
        height: .24rem;
        line-height: .24rem;
        margin-top: .2rem;
        text-align: center;
    }
/* 规则弹窗 */
.rule-dialog{
    width: 100%;height: 100vh;background: rgba(0,0,0,.7);position: fixed;
    left: 0;top: 0;z-index: 999;display: none; justify-content: center;align-items: center;
}
    .rule-dialog-content{
        width: 6rem;
        background: #fff;
        padding: .5rem .48rem;
        border-radius: .2rem;
        position: relative;
    }
    .rule-dialog-title{
        text-align: center;
        color: #111;
        font-size: .32rem;
        font-weight: 700;
    }
    .rule-dialog-text{
        text-align: left;
        font-size: .28rem;
        color: #666;
        line-height: .4rem;
        box-sizing: border-box;
        background: #fff;
    }
    .m-act-del{
        right: .17rem;
        top: .27rem;
        margin-top: -6px;
        position: absolute;
        display: inline-block;
        width: 20px;
        height: 20px;
        overflow: hidden;
        background: #ccc;
        border-radius: 50%;
    }

    .m-act-del::before, .m-act-del::after {
        content: '';
        position: absolute;
        height: 2px;
        width: 70%;
        top: 50%;
        left: 3px;
        margin-top: -1px;
        background: #fff;
    }

    .m-act-del::before {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    .m-act-del::after {
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
  /* 商品列表 */
/*  .goods-wrap {*/
/*    display: flex;*/
/*    display: -webkit-flex;*/
/*    -webkit-flex-wrap: wrap;*/
/*    align-content: baseline;*/
/*    flex-wrap: wrap;*/
/*    padding-left: .2rem;*/
/*    background-image: linear-gradient(*/
/*      -90deg,#ff2a00 0%,#ff6200 100%);*/
/*    padding-top: .2rem;*/
/*    box-sizing: border-box;*/
/*    min-height: 100vh;*/
/*}*/

/*.goods-wrap .goods-item {*/
/*    position: relative;*/
/*    width: 3.48rem;*/
/*    padding-bottom: .24rem;*/
/*    margin: 0 .14rem .14rem 0;*/
/*    border-radius: .12rem;*/
/*    background: #fff;*/
/*    overflow: hidden*/
/*}*/

/* 商品列表 */
.goods-wrap {
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    align-content: baseline;
    flex-wrap: wrap;
    padding: .2rem;
    padding-bottom: calc(.4rem + env(safe-area-inset-bottom));
    background-image: linear-gradient(-90deg, #ff2a00 0%, #ff6200 100%);
    box-sizing: border-box;
    min-height: 100vh;
    width: 100vw;
}

.goods-wrap .goods-item {
    position: relative;
    width: 3.48rem;
    padding-bottom: .24rem;
    margin-bottom: .14rem;
    border-radius: .12rem;
    background: #fff;
    overflow: hidden
}

.goods-wrap .goods-item .item-link {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;
    width: 100%;
    height: 100%
}

.goods-wrap .goods-item .item-img {
    width: 3.48rem;
    height: 3.48rem;
    overflow: hidden;
    margin-bottom: .15rem;
    border-top-left-radius: .12rem;
    border-top-right-radius: .12rem
}

.goods-wrap .goods-item .item-img.limit,.goods-wrap .goods-item .item-img.first {
    width: 3.44rem;
    height: 3.44rem;
    position: relative;
    border: .02rem solid #ffd200
}

.goods-wrap .goods-item .item-img.limit:after,.goods-wrap .goods-item .item-img.first:after {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: .9rem;
    height: .28rem;
    background: url(/huodong/taobao57109/img/limited.png) no-repeat;
    background-size: .9rem
}

.goods-wrap .goods-item .item-img.first:after {
    background: url(/huodong/taobao57109/img/first.png) no-repeat;
    background-size: .9rem
}

.goods-wrap .goods-item .item-img .item-1,.goods-wrap .goods-item .item-img .item-2,.goods-wrap .goods-item .item-img .item-3 {
    position: absolute;
    top: 0;
    left: 0;
    line-height: .58rem;
    border-radius: .12rem 1rem 1rem 0;
    width: .98rem;
    height: .58rem;
    padding-left: .14rem;
    background-image: linear-gradient(to right,#ffbc17,#ed8c00);
    color: #fff;
    font-family: PingFangSC-Medium;
    font-size: .28rem;
    font-weight: 500
}

.goods-wrap .goods-item .item-img .item-2 {
    background-image: linear-gradient(to right,#dadada,#afb8bc)
}

.goods-wrap .goods-item .item-img .item-3 {
    background-image: linear-gradient(to right,#f5bea7,#e38a63)
}

.goods-wrap .goods-item .item-title {
    display: -webkit-box;
    height: .8rem;
    margin-bottom: .14rem;
    overflow: hidden;
    line-height: .4rem;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-wrap: break-word;
    word-break: break-all;
    font-size: .26rem;
    color: #111
}

.goods-wrap .goods-item.get:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: .9rem;
    height: .9rem;
    background: url(/huodong/taobao57109/images/zerowai69271/got.png) no-repeat;
    background-size: .9rem
}

.goods-wrap .item-info {
    padding: 0 .2rem
}

.goods-wrap .item-info .tips {
    display: none
}

.goods-wrap .item-info .item-desc {
    white-space: nowrap;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: baseline;
    height: .42rem;
    margin-bottom: .13rem
}

.goods-wrap .item-info .item-desc .item-price {
    line-height: .42rem;
    font-size: .24rem;
    color: #f10c10;
    margin-bottom: 0
}

.goods-wrap .item-info .item-desc .item-price em {
    font-weight: 400
}

.goods-wrap .item-info .item-desc .item-price .integer {
    font-size: .48rem;
    position: relative;
    top: 2px
}

.goods-wrap .item-info .item-desc .item-price .integer small {
    padding: 0 .04rem;
    font-size: .28rem;
    margin-right:-0.04rem;
}

@media (max-width: 374px) {
    .goods-wrap .item-info .item-desc .item-price .integer {
        font-size:.4rem
    }
}

.goods-wrap .item-info .item-desc .item-price .decimal {
    position: relative;
    top: 2px
}

.goods-wrap .item-info .item-desc .item-sale {
    font-size: .28rem;
    color: #999;
    text-decoration: line-through
}

.goods-wrap .item-info .item-btn {
    white-space: nowrap;
    display: flex;
    display: -webkit-flex;
    font-size: .24rem;
    color: #fff
}

.goods-wrap .item-info .item-btn span {
    height: .54rem;
    display: flex;
    padding: 0 .1rem;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
    border-radius: .1rem;
    background-image: linear-gradient(-89deg,#e5051b 0%,#ff2249 100%)
}

.goods-wrap .item-info .item-btn span small {
    font-size: 100%;
    padding: 0 .02rem
}

.goods-wrap .item-info .item-btn span.discount,.goods-wrap .item-info .item-btn span.coupon,.goods-wrap .item-info .item-btn span.amount {
    height: .34rem;
    border-radius: .04rem
}

.goods-wrap .item-info .item-btn span.discount {
    position: relative;
    padding-right: .18rem;
    margin-right: .14rem;
    background: #ff5b02
}

.goods-wrap .item-info .item-btn span.discount:after {
    position: absolute;
    content: "";
    display: block;
    right: 0;
    top: .05rem;
    width: 0;
    height: 0;
    border-top: .12rem solid transparent;
    border-bottom: .12rem solid transparent;
    border-right: .08rem solid #fff
}

.goods-wrap .item-info .item-btn span.coupon {
    position: relative;
    padding: 0 .12rem;
    margin-right: .1rem;
    background: #ff4141
}

.goods-wrap .item-info .item-btn span.coupon:before,.goods-wrap .item-info .item-btn span.coupon:after {
    position: absolute;
    content: "";
    display: block;
    left: 0;
    top: 50%;
    width: .16rem;
    height: .16rem;
    transform: translate(-64%,-50%);
    background-color: #fff;
    border-radius: 50%
}

.goods-wrap .item-info .item-btn span.coupon:after {
    left: auto;
    right: 0;
    transform: translate(64%,-50%)
}

.goods-wrap .item-info .item-btn span.amount {
    background-image: -webkit-linear-gradient(150deg,#ffbc17 0%,#ed8c00 96%);
    background-image: linear-gradient(150deg,#ffbc17 0%,#ed8c00 96%)
}

.goods-wrap .item-info .item-btn span.xianjin {
    flex: 1
}

.goods-wrap.line .goods-item {
    width: 6.7rem;
    display: flex;
    display: -webkit-flex;
    padding: .2rem
}

.goods-wrap.line .goods-item .item-img {
    height: 2.6rem;
    width: 2.6rem;
    border-radius: .12rem;
    margin-bottom: 0;
    margin-right: .2rem
}

.goods-wrap.line .goods-item .item-title {
    font-size: .32rem
}

.goods-wrap.line .item-info {
    width: 3.8rem;
    padding: .15rem 0;
    position: relative
}

.goods-wrap.line .item-info .tips {
    font-size: .28rem;
    color: #666;
    display: none;
    height: .4rem;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: keep-all
}

.goods-wrap.line .item-info .item-desc,.goods-wrap.line .item-info .item-btn {
    position: absolute;
    width: 3.8rem
}

.goods-wrap.line .item-info .item-btn {
    bottom: .8rem
}

.goods-wrap.line .item-info .item-btn span.xianjin {
    flex: none
}

.goods-wrap.line .item-info .item-desc {
    bottom: .1rem
}

.goods-wrap.line .item-info .item-desc .item-sale {
    color: #9e3036;
    padding: .01rem .05rem;
    border-radius: .04rem;
    background-image: linear-gradient(90deg,#ffef82 0%,#ffdb4b 100%)
}
.goods-item-get:after{
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: .9rem;
    height: .9rem;
    background: url("../images/got.png") no-repeat;
    background-size: .9rem;
}
.w100 {
display: block;
width: 100%;
vertical-align: middle
}
.bold, .pf-bold {
  font-family: PingFangSC-Medium;
  font-weight: 500;
}
.fixed-top-nav{margin-top: .2rem;}
.back-top{
    /*float将div脱离文档流，这样就不会占据文档流中的位置，不会留有空白*/
    float: right;
    /*这里使用right将其浮动至右侧*/
    right: 100px;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    background: #999999;
    position: sticky;
    /*注意：top属性实现定位，top和bottom等定位方式是不同的*/
    top: 500px;
    right: 100px;
}
.backToTop{
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(0,0,0,.7);width: 30px;height: 30px;
    display: flex;justify-content: center;align-items: center;border-radius: 100%;
    display: none;
}
.backToTop>img{
    width: 20px;height: 20px;
}
